import math

def fcheck(n):
	for x in range(1,21):
		if(n % x != 0):
			return False
	return True
	

x = 1

while fcheck(x) == False:
	x = x+1

print(x)

'''
def getf(n):
	f = 0
	for x in range(2,int(sqrt(n))+1):
		if n % x == 0:
			f = 1
	return f

start = math.factorial(20)
'''